package cn.jolyoulu.adminbootstatap;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author: JolyouLu
 * @Date: 2023/3/18 13:31
 * @Description
 */
@EnableScheduling
@EnableAspectJAutoProxy
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@MapperScan("cn.jolyoulu.**.dao")                  //Mapper扫描
@ComponentScan(basePackages = {"cn.jolyoulu.*","cn.jolyoulu.*"})   //Bean扫描
public class AdminBootstrapApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminBootstrapApplication.class,args);
    }
}
